<template>
  <div>
    <el-dialog :visible.sync="formDialog" center fullscreen>
      <div v-if="!formDialog">
        <iframe src="/static/editor.html" scrolling="auto" frameborder="0" style="width: 100%;height: 900px;" />

      </div>

    </el-dialog>
  </div>
</template>

<script>
export default {
  name: 'SelectFormDialog',
  props: {
    formDialog: { type: Boolean, default: false }
  },
  data() {
    return {
      formLabelWidth: '120px'
    }
  },
  methods: {
    selectFormModify() {
      this.$emit('selectFormModify', { ...this.selectFormObj })
      this.formDialog.selectForm = false
    }
    // checkSelectForm(){
    //   let obj=this.selectFormInfo.find(item=>{
    //     return item.id==this.selectFormObj.parentId;
    //   });
    //   if(obj.fileName==this.selectFormObj.fileName){
    //     this.selectFormObj.parentId="";
    //   }
    // }
  }
}
</script>

<style scoped>

</style>
